package demo;

public class Robot implements IRunning{
    String name;
    int age;

    public Robot(String name, int age) {
        this.name = name;
        this.age = age;
    }

    @Override
    public void run() {
        System.out.println(name+"正在行进");
    }
}
